package router

import (
	"api-wareway/handler/service"
	"github.com/gin-gonic/gin"
)

func Router(r *gin.Engine) {
	r.POST("/user/register", service.RegisterUser)
	r.POST("/video/add", service.AddVideo)
	r.POST("uploadFile", service.UploadFile)
	r.GET("/video/page", service.GetPageFile)
}
